home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu555.dms / pu555.adf / -------------- next >
Text File  |  1994-08-24  |  91KB  |  2,036 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.      Amigatech does it again, the complete COMMS for beginners file.
  8.      Everything you need to know to get started in comms!!!!!!!!!!!!
  9.  
  10.                                          _____ ____     ____
  11.         /\    /\      /\   I GGGGG    /\ -----I        /     /    /
  12.        /  \  /  \    /  \  I G       /  \  I  I       /     /    /
  13.       -----\/    \  /    \ I G   G  -----\ I  I--    /     /----/
  14.      /      \     \/      \I GGGGG /      \I  I____ /____ /    /
  15.  
  16.                                          Bristol UK
  17.  
  18.  
  19.    ==================================================================
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.                          COMMS FOR BEGINNERS
  29.                          -------------------
  30.  
  31.                            BY DAVID FOSTER
  32.                            ---------------
  33.  
  34.                       PART 1: IN THE BEGINNING!
  35.                       =========================
  36.  
  37. Comms can be a  confusing  subject  for  newcomers,  with all sorts of
  38. jargon, buzzwords and abbreviations to be  found, not only with regard
  39. to setting up  and  using  comms  software,  but  also  logging  on to
  40. different services.
  41.  
  42. In this series, I  intend  to  look  at  the  the  various aspects and
  43. explain the mumbo-jumbo  in  simple  terms.  You  won't  find detailed
  44. technical descriptions about how modems  or error correction work   my
  45. object is to make all facets of comms sufficiently understandable that
  46. you will know enough about  the  jargon  to  find  your way around the
  47. various on-line services without wasting time and money.
  48.  
  49. Let's start right at the beginning. Communications provides a means of
  50. passing data (anything  from  text  files  to  programs) backwards and
  51. forwards  over  long   distances,   usually   over   telephone  lines.
  52. Unfortunately, phone lines are  not  really  the  ideal means of doing
  53. this, for a number of reasons.
  54.  
  55. One problem with the telephone  network  is  the  poor quality of some
  56. lines, which can cause data corruption.  This is being improved as new
  57. lines and digital exchanges are installed throughout the country.
  58.  
  59. The old, Strowger, type of telephone exchange is purely mechanical and
  60. the noise made by the relays clicking away as people dial out is often
  61. enough to cause noise on nearby lines.
  62.  
  63. Another problem is that the  way  the  telephone system works makes it
  64. unsuitable for passing data in a  form that a computer can understand,
  65. so some means is required to convert the  data. This is the job of the
  66. modem.
  67.  
  68. The modem (MOdulator DEModulator)  converts  the  data at the computer
  69. end into a form suitable  for  transmission  over the phone (modulates
  70. it) and reconverts received data back into computer-digestible form by
  71. demodulating it.
  72.  
  73. Data is transferred between the  computer  and  the modem via a serial
  74. link, where each bit of data is  passed  down the same wire, one after
  75. another, unlike the parallel connection,  used by most printers, where
  76. several bits are passed down a  number  of  parallel lines at the same
  77. time.
  78.  
  79. The serial port is often referred  to  as  the  RS232 port, or in some
  80. cases, a RS423 port. The latter is  really a sub-set of the RS232 with
  81. enough, though not all,  of  its  facilities.  It's important that the
  82. modems at each end of a line know  the  exact form in which data is to
  83. be transmitted and received and this is done by the carrier tone.
  84.  
  85. When you dial another modem, one of the modems tries to determine what
  86. form the transfer is  to  take  by  listening  to  the carrier. Having
  87. recognised the signal, it switches  into  the  same mode, so that both
  88. modems can 'talk' to each other and know what each other is doing.
  89.  
  90. I shall look at the serial port  in  more detail next time, as well as
  91. the settings required when using it.
  92.  
  93.                      PART 2: THE RS232 INTERFACE
  94.                      ===========================
  95.  
  96. The RS232 Serial port standard was  one of those wonderful ideas which
  97. never quite came off.
  98.  
  99. It was originally intended  to  provide  a  standard for serial ports,
  100. with all items of equipment using  the  same type of plugs and sockets
  101. wired in the same way,  so  that  all  equipment which used the serial
  102. port could  just  be  plugged  in,  using  the  appropriate  cable and
  103. everything would work.
  104.  
  105. So much for theory! As many  of  you  will have long since discovered,
  106. this ideal hasn't really been met, for a number of reasons.
  107.  
  108. The socket on the back of  a  computer,  for example, should be a male
  109. 25-pin D-type, but some portable manufacturers decided that having all
  110. those male pins hanging out the  back  was  not very safe, so chose to
  111. use the female variety of socket instead.
  112.  
  113. IBM, in its wisdom, decided that  AT  computers  should use a 9-pin D-
  114. type connector and Acorn  settled  on  the  5-pin  DIN connector and a
  115. sub-set of the RS232 standard, called the RS423.
  116.  
  117. I won't go into  any  great  detail  about  all the possible different
  118. set-ups, other than to say  that  matters  seem  to be improving, with
  119. many computers now using not only the same connectors, but even wiring
  120. them the same way (more or less).
  121.  
  122. The  way  the  cable  is  wired  is  not  only  important  as  far  as
  123. communicating with another modem is concerned,  but also because a lot
  124. of software reads the various signals to determine whether it is on or
  125. off line, among other things.
  126.  
  127. The main thing that the modems at each  end  of a line need to know is
  128. the speed at which data is  to  be  transmitted down the line. This is
  129. often referred to as the Baud rate,  but there are also standard terms
  130. used to describe them.
  131.  
  132. The most common rates are 300/300, also known as V21, 1200/1200 (V22),
  133. 2400/2400 (V22bis) and 1200/75 and 75/1200 (V23 and reverse V23) bps.
  134.  
  135. Bps means bits per second and is  the accurate description of the rate
  136. of data transfer.
  137.  
  138. V23 differs from the others in that the transmit and receive rates are
  139. different. When such split  baud  rates  are  in  use, one computer is
  140. always set to one rate and the other  to its reverse mode, so that the
  141. 1200 rates match and so do the 75bps rates. The effect of this is that
  142. data flows quickly in one direction, but slowly in the other.
  143.  
  144. This is often not such a problem as  it might appear, as usually a lot
  145. of data will transfer in one direction,  with only a limited number of
  146. responses the other way.
  147.  
  148. Prestel is a good example,  where  you  will receive a complete screen
  149. full of characters in return for  a  single  press of a numeric key or
  150. the hash key.
  151.  
  152. Split baud rates are rarely used outside  the UK. At one time, Prestel
  153. and also many  bulletin  boards,  used  split  baud rates exclusively,
  154. although many now support a range of speeds.
  155.  
  156. Having now got a suitable cable and a suitable data transfer speed, it
  157. is important that the serial port is  set to transmit and receive data
  158. in the same format that the other end  is using. The format of data is
  159. determined by three main items: word  size,  parity and number of stop
  160. bits.
  161.  
  162. Most services and software  use  either  7-bit  or  8-bit words   each
  163. character sent down  the  wire  consists  of  7  or  8  bits. An ASCII
  164. character consists of only 7 bits, as  this is all that is required to
  165. produce any character between 0 and 127 in the ASCII character set.
  166.  
  167. If you want to produce characters in the extended character set, which
  168. includes such symbols as the pound sign,  then 8 bits are required for
  169. each character. It is therefore important that each computer knows how
  170. many bits make up each character it receives.
  171.  
  172. If you are connecting to a  service  such as Prestel, Telecom Gold, or
  173. even a bulletin board, you will not generally have any say in the word
  174. size, as this is determined by the system.
  175.  
  176. For some obscure reason, most of  the commercial services like Prestel
  177. and TG use a 7-bit format, while most BBs use 8-bit.
  178.  
  179. Parity is, to a great extent,  obsolete. It was originally intended as
  180. a crude form of error-checking, but  there are now far better methods.
  181. The usual  options  are  odd,  even  and  no  parity.  Again,  this is
  182. determined by the service you are using.
  183.  
  184. The principle behind this error-checking  is  that  the number of bits
  185. which are set in a character are totalled up and, depending on whether
  186. the number  is  an  odd  or  an  even  number,  another  bit  is  sent
  187. afterwards, to indicate whether the number was odd or even.
  188.  
  189. When the character is received, the number of set bits is added up and
  190. compared with the parity bit to  see  whether  the number is still the
  191. same. As a means of error-checking,  it  is largely redundant, but you
  192. still have to use the correct settings.
  193.  
  194. The final setting is the number of  stop bits. Nowadays the setting is
  195. nearly always  1,  but  in  the  early  days  of  communications, when
  196. response was often sluggish, it was not uncommon to use 2 or more stop
  197. bits, to ensure that  at  least  one  was  picked  up by the receiving
  198. computer.
  199.  
  200. Again, you must use the correct setting,  as the number of bits passed
  201. down the wires for a single  character  is determined by a combination
  202. of all three settings, so both ends must know what to expect.
  203.  
  204. Next week I shall look at  different  methods of ensuring that data is
  205. received and transmitted without corruption.
  206.  
  207.                         PART 3: LINE NOI!%SE
  208.                         =====================
  209.  
  210. One of the problems with using  phone lines for comms, particularly at
  211. high speeds,  is  that  characters  are  sometimes  lost  or  text  is
  212. corrupted. This is usually due to line noise.
  213.  
  214. Line noise may be caused by  a  number  of things   noisy equipment in
  215. old fashioned exchanges, a fault on the line, or just too much traffic
  216. using the main trunk route lines.
  217.  
  218. Whatever  the  cause,  line  noise   can   be  anything  from  a  mild
  219. inconvenience to a major problem. If it only happens occasionally while
  220. you are reading text, it may not  be  a problem, but if you are trying
  221. to upload or  download  an  important  text  file,  or,  even worse, a
  222. program file, the  effects  of  even  one  bit  of  corruption  can be
  223. disastrous.
  224.  
  225. The reason why it appears to be  worse  at faster line speeds is that,
  226. for a given duration of  a  bout  of  line noise, more characters will
  227. have been transferred and corrupted.
  228.  
  229. Until recently, there wasn't  really  any  solution  to the line noise
  230. problem. A number of file transfer  protocols have now been developed,
  231. to solve the problem  of  transferring  data  program files. There are
  232. lots of file transfer protocols, but  the most common is Xmodem, which
  233. is available on the vast majority of services.
  234.  
  235. Xmodem is far from the most efficient  in terms of transfer speed, but
  236. has proved to be very  reliable  and  is  so well established that you
  237. cannot afford to ignore it.
  238.  
  239. Many of the other protocols  which  have  appeared are developments of
  240. the original Xmodem, aiming to  improve  transfer rates or enable more
  241. than one file at a time to be transferred.
  242.  
  243. One of Xmodem's disadvantages is that  it  will  only work with 8 data
  244. bit connections. This  means  that  it  cannot  be  used with services
  245. requiring 7 data bits,  including  many  of  the major online systems,
  246. such as Telecom Gold.
  247.  
  248. Another file transfer  protocol  you'll  meet  quite  often is Kermit.
  249. (Yes, it was named after the  frog.)  Kermit will work with both 7-bit
  250. and 8-bit systems.
  251.  
  252. Transfer protocols follow  the  general  principle  of  reading a pre-
  253. determined amount of data and transmitting it as a block (often called
  254. a packet) of a fixed length,  complete with start-of-block and end-of-
  255. block markers and, usually,  a  checksum.  When the receiving computer
  256. received a  packet  it  strips  out  the  markers,  re-calculates  the
  257. checksum and compares it with the checksum sent with the packet.
  258.  
  259. If the checksums  don't  match,  the  receiving  computer  transmits a
  260. request to re-send the packet.
  261.  
  262. If the checksums  match,  the  block  was  alright  and  the receiving
  263. computer sends an  acknowledgement,  at  which  point the transmitting
  264. computer sends the next block and  so  on  until the complete file has
  265. been transferred.
  266.  
  267. Many protocols are much  more  sophisticated  than  this. I shall look
  268. more fully into the pros and cons of the more frequently-met protocols
  269. in a future article.
  270.  
  271. File transfer protocols are ideal  for  their intended purpose, but do
  272. nothing to eliminate line noise encountered when just browsing around.
  273. The recent development of  error  correction  protocols addresses this
  274. problem.
  275.  
  276. The currently most popular error  correction  protocol in this country
  277. is MNP. It stands for  Miracom   Networking Protocol and was developed
  278. by the US modem manufacturer, Miracom.
  279.  
  280. I'll examine MNP more fully next week.
  281.  
  282.                        PART 4: ERROR CORRECTION
  283.                        ========================
  284.  
  285. As briefly mentioned last  week,  MNP  is  currently the most commonly
  286. encountered error  correction  protocol  and  is  to  be  found either
  287. implemented as a part of the modem  the most efficient method or, in a
  288. few cases, as part of the comms software the cheapest way.
  289.  
  290. There are many levels  of  MNP  error  correction, each more efficient
  291. than its predecessor. Microcom  put  the  original, lower, levels into
  292. the Public Domain, presumably to  encourage the protocol's development
  293. and popularity.
  294.  
  295. Initially, only level 2 was available,  but  I understand that level 4
  296. is now available and that level  5  may  be before long. Levels higher
  297. than this are still the property of Microcom.
  298.  
  299. The original versions were not  very  efficient in terms of throughput
  300. of  data,  with  the  rate  of  transfer  reducing  to  about  80%  of
  301. uncorrected  when  using  level   2.   Later  versions  have  improved
  302. efficiency, with level  4  producing  approximately  the same transfer
  303. rate as uncorrected.
  304.  
  305. The big jump comes with level  5, which introduces data compression to
  306. error correction. Theoretically,  with  the  right  type  of data, the
  307. transfer rate can rise to about twice that of uncorrected transfer.
  308.  
  309. Many newer modems are available  with  MNP  up  to level 5 (or higher)
  310. but, so far, the  highest  level  available  in  software  is level 5.
  311. Depending on the power of the computer, level 5 in software may not be
  312. as efficient as the same level  incorporated  into a modem, due to the
  313. extra processing that has to be done by the computer.
  314.  
  315. Everything isn't  quite  as  rosy  as  it  may  seem  though,  as  the
  316. efficiency of the data compression is very much determined by the type
  317. of data being transferred. Plain  ASCII  text usually compresses well,
  318. program files less so.
  319.  
  320. Compressed files,  such  as  ARCed  or  ZIPped  files,  are  even less
  321. efficient, even to  the  extent  of  being  slower,  because  MNP goes
  322. through the process of  trying  to  compact,  but  fails, only wasting
  323. time.
  324.  
  325. Another problem is that some of  the  file transfer protocols, such as
  326. Xmodem and Kermit, don't  work  very  efficiently  in conjunction with
  327. MNP. The reason for  this  is  that  the  file transfer protocol wraps
  328. everything up into packets, then passes  it  on to MNP, which proceeds
  329. to do the same before sending it.
  330.  
  331. At the other end, it has to be unpacked twice, then an acknowledgement
  332. has to be packed up and sent back to the transmitting computer.
  333.  
  334. There are  a  number  of  file  transfer  protocols  (called streaming
  335. protocols) which are designed for use  with error correction and these
  336. merely pass the  data  through,  leaving  MNP  to  do  the correction.
  337. Ymodem-g is one such and allows greater throughput than most.
  338.  
  339. Another file transfer protocol  which  works  quite  well  with MNP is
  340. Zmodem, which does  so  by  virtue  of  the  fact  that  it just keeps
  341. transmitting data until  it  receives  a  message  from  the other end
  342. requesting a re-send  because   a   packet   doesn't   check out. This
  343. ought never to happen, as  MNP  should  ensure  that it always arrives
  344. intact.
  345.  
  346. The same rules apply (even  with  the streaming protocols) with regard
  347. to efficiency  reducing  when  transferring  already  compacted files.
  348. Generally speaking, it is better to use level 4 rather then level 5 if
  349. you want  to  transfer  already  compacted  files,  which  should then
  350. transfer at about the same rate they would do if uncorrected.
  351.  
  352. MNP is easy to use, only requiring you to tell the modem, or software,
  353. whether you want to use it  and,  if  so,  what level you want to use.
  354. When you call an online  service,  as  soon  as the carriers have been
  355. detected, the modems automatically try  to  agree not only whether MNP
  356. will be used, but the level to be used.
  357.  
  358. If the modems fail to agree,  either  because  one doesn't have it, or
  359. the line is too bad, it is possible to continue without correction, or
  360. the modem may be configured to drop the line in such a situation.
  361.  
  362. MNP is a fallback protocol which  means  that if both modems recognise
  363. that the other wants to  use  MNP,  they  attempt to agree the highest
  364. common level of correction, falling  back  to  lower levels until both
  365. can agree.
  366.  
  367. There are other protocols. Some are  standards which have been agreed,
  368. but  not  used  to  any  great   extent  EPAD,  proprietary  to  modem
  369. manufacturers, requiring both modems to be the same make.
  370.  
  371. At the moment, MNP is the  leader  in  this country, though things may
  372. well change in the future.  MNP  already  has  a good following and it
  373. will require something special to  persuade  so many people to abandon
  374. it for something else.
  375.  
  376.                         PART 5 BULLETIN BOARDS
  377.                         ======================
  378.  
  379. After our brief looks at connecting  a  modem and error correction, it
  380. is time for a complete change, with a look at scrolling services.
  381.  
  382. There are two main types of scrolling services (those which do not use
  383. the Prestel "paged" format) electronic  mail services, such as Telecom
  384. Gold, which  are  generally  commercial  and  Bulletin  Board Services
  385. (BBS), which are mostly privately run and free.
  386.  
  387. There is a degree of overlap.  Some  BBs are commercially run and make
  388. charges;  some  electronic  mail  services  also  provide  many  other
  389. facilities.
  390.  
  391. Bulletin boards can be fascinating  and  very worthwhile, but they can
  392. also be extremely expensive and,  in  some  cases, a complete waste of
  393. time and money. Long-distance calls to  a  good BB can be very costly,
  394. so beware. There are over 300 BBs  in  the UK, but the good ones never
  395. seem to be a local call away!
  396.  
  397. Most BBs are run as a  hobby  by  comms enthusiasts and this should be
  398. remembered and respected. The person in  charge of a bulletin board is
  399. known as the sysop SYStem OPerator.  In  most  cases the sysop is also
  400. the owner.
  401.  
  402. The majority of BBs offer a  mixture  of messaging and file/upload and
  403. download facilities and, occasionally, online  games.  At least one BB
  404. Merkinstead, in Manchester enables  users  to  view  Ceefax and Oracle
  405. online, even though it is  a  scrolling  system rather than a videotex
  406. service. Very ingenious.
  407.  
  408. Depending how sophisticated it is, a  BB  may have many message areas,
  409. each  covering  a  different  subject  comms,  programming  and  micro
  410. specific discussions, for example.
  411.  
  412. Some BBs also allow messages to be  passed to other bulletin boards in
  413. a network, but it can take  time  for  messages  to get around and, in
  414. terms  of  speed,  is  no  substitute  for  Prestel  or  Telecom  Gold
  415. messaging.
  416.  
  417. Bulletin boards  may  also  have  a  number  of  files  available  for
  418. download, using suitable file  transfer  protocols.  These are usually
  419. classified by types  of  software  (comms,  utilities)  or  by make of
  420. computer.
  421.  
  422. All software on BBs should be either  public domain or shareware it is
  423. an offence to distribute  copyrighted  programs without the permission
  424. of the authors.
  425.  
  426. Public domain describes  software  which  the  author  has made freely
  427. available to everyone, usually on  the  condition  that no charges are
  428. made for it. Often, they still retain the copyright of the program.
  429.  
  430. Shareware is different (though many people don't seem to think so). It
  431. is commercial software which the  author  makes available for users to
  432. try out.
  433.  
  434. If, after a reasonable period of time,  you decide you want to use the
  435. program regularly, you  are  morally  obliged  to  pay  the author the
  436. amount of money he or she suggests as a registration fee.
  437.  
  438. Many BBs also have news areas,  containing information on all sorts of
  439. subjects and doors which provide access to  some of the many games and
  440. programs written specially for the purpose.
  441.  
  442. Doors are  separate  programs  which  can  be  linked  in  to  most BB
  443. software. The vast majority of these  programs are written for IBM PC-
  444. compatibles.
  445.  
  446. Setting up a BB is  something  which  should  not  be done lightly   a
  447. considerable  amount  of  time,  money   and  effort  is  needed.  The
  448. requirements for setting up a BB  are  a  computer, a modem with auto-
  449. answer capability, a phone line and suitable BB software.
  450.  
  451. Most BBs have their own  phone  line,  so  that  they are available 24
  452. hours a day, but some, often  newly-opened BBs, are only available for
  453. certain hours of the day or    more commonly   night because the phone
  454. is needed for normal purposes the rest of the time.
  455.  
  456. The only satisfactory solution is a completely separate line. Once you
  457. have paid the installation charge,  costs are relatively small   since
  458. people will be calling the BB, the  line  will qualify for a low usage
  459. rebate.
  460.  
  461. Bulletin board software  is  available  for  most  computers, from the
  462. Spectrum to the Amiga and even  the  BBC  Micro,  with its puny 32K of
  463. memory. Far and away the most popular computer for running a BB is the
  464. PC.
  465.  
  466. There are several reasons for this.  Not  only  is  a wide range of BB
  467. software available, but hard discs are  relatively cheap and many add-
  468. ons, like compact discs, are available for PCs.
  469.  
  470. While a hard disc is not  essential,  it  certainly makes for a better
  471. BB, as the amount of data (messages  and  files) you can offer is very
  472. restricted if  you  only  have  floppy  drives.  Hard  discs  are also
  473. considerably quicker.
  474.  
  475. BB software varies widely, from basic  systems with few facilities, to
  476. multi-user versions, handling several callers  at a time and providing
  477. very sophisticated and customisable options.
  478.  
  479. The more sophisticated the software, the more time it will take to set
  480. up and maintain. Maintenance  is  something  which  must be considered
  481. it can take the sysop considerable  time to answer messages, check out
  482. software uploaded to the BB by users  and locate it in the appropriate
  483. areas.
  484.  
  485. Next week, I'll describe how to  set  up  your software to access a BB
  486. and take you through a typical online session.
  487.  
  488.                     PART 6: HOW TO LOG ON TO A BB
  489.                     =============================
  490.  
  491. Logging on to a  bulletin  board  for  the  first  time  can be rather
  492. intimidating.
  493.  
  494. Logging on to Prestel  for  the  first  time  is  a  bit worrying, but
  495. somehow it seems more impersonal than  a  BB, where you are aware that
  496. the sysop may be watching what you are doing. There's no need to worry
  497. though most sysops know that everyone  has  to start somewhere and are
  498. only too willing to help.
  499.  
  500. Before you can log  on  to  a  bulletin  board,  you  must set up your
  501. software to suit the system. Scrolling  BBs usually use 8-N-1 settings
  502. 8 bit words, No parity and 1 stop bit, so if you use the same software
  503. as you use  for  Prestel,  you'll  need  to  re-configure  it from the
  504. Prestel 7-E-1 setting.
  505.  
  506. If you know what Baud rates the BB supports, then you should set it to
  507. the highest that both the BB and  your modem will handle. If you don't
  508. know, then the only answer is to find out by trial and error.
  509.  
  510. If your modem handles 1200/1200,  try  that  first as most BBs support
  511. it. If not, then  select  300/300  for  the  first attempt. If neither
  512. works, then try 1200/75 Baud if you've got it.
  513.  
  514. Once you have successfully logged  on,  most BBs' opening screens tell
  515. you which rates  they  support  and  whether  MNP  error correction is
  516. available. Make a note for future occasions.
  517.  
  518. If your modem connects but nothing happens, press the Return key a few
  519. times some BBs require "waking up" in this way.
  520.  
  521. If nothing still happens, one of  two things is probably wrong. Either
  522. the BB hasn't reset the software  properly from the previous caller or
  523. you've connected at 1200/1200 to a service which only supports 1200/75
  524. this occasionally happens. If lots  of  garbage appears on-screen, try
  525. again using a lower speed.
  526.  
  527. Sometimes a message will appear, informing  you that the BB is running
  528. under "BinkleyTerm" or something similar and  asking you to wait a few
  529. seconds. This  is  part  of  the  system  mentioned  last  week, where
  530. messages are passed round a network of BBs.
  531.  
  532. After a few seconds, the BB  software  starts up and you are presented
  533. with the Welcome screen. You can  often  speed this up by pressing the
  534. Esc key.
  535.  
  536. The Welcome screen will usually ask for your name, either as first and
  537. surname separately, or both at  the  same  time. Sometimes it will ask
  538. you to enter NEW or NEW USER if it is the first time you have used the
  539. board.
  540.  
  541. Most sysops actively  encourage  users  to  give  their  proper names,
  542. rather than pseudonyms. Some software automatically rejects names like
  543. Maggie Thatcher or Donald Duck.
  544.  
  545. The first time you use a  particular  BB,  it will repeat the name you
  546. entered and ask you to confirm  it,  as  a safe-guard against the name
  547. being corrupted by line noise. If  it  isn't correct, re-enter it. You
  548. are then asked  for  a  password.  The  size  permitted  for passwords
  549. varies, but most systems will  allow  you  to use punctuation marks as
  550. well as letters and numbers.
  551.  
  552. You may sometimes by asked to  use  a  different name. This is because
  553. there is already a user  with  the  same  name, so change it slightly.
  554. Names must be exclusive as they are used when passing messages between
  555. callers, among other things.
  556.  
  557. Make sure you remember the precise  name and password you used because
  558. the next time you log on, the  software will check them against a user
  559. list. If they match, you  will  be  allowed  to  continue into the BB,
  560. otherwise you will be thrown out!
  561.  
  562. Do not log on under different names, unless you really have to it only
  563. makes more work for the sysop and a mockery of the system.
  564.  
  565. Most BB sysops grant extra facilities  to  known  users, in the way of
  566. either more time allowed you on the  BB   many BBs have time limits on
  567. how long you may stay logged on to them, in any one day,  or access to
  568. more areas.
  569.  
  570. Sometimes you  will  be  asked  to  complete  a  short  questionnaire.
  571. Generally, you are not obliged to fill this in, but it can provide the
  572. sysop with useful information  about  his  callers. Very occasionally,
  573. the information is used by the sysop  to  contact you in writing or by
  574. phone, to confirm you are who  you  said you are, before granting full
  575. access to the BB.
  576.  
  577. Once into a BB  for  the  first  time,  particularly  if it is running
  578. different BB software from  any  you  have  come  across,  it is worth
  579. finding the help files and capturing them to study later, off-line. On
  580. most BBs they will be found in a bulletin, news or general files area.
  581.  
  582. Next week, I'll look at some of  the  things you can expect to find on
  583. BBs.
  584.  
  585.                        PART 7: WHAT'S ON BOARD?
  586.                        ========================
  587.  
  588. If you are a newcomer to the  world  of bulletin boards, it is all too
  589. easy to become confused  there  are  so  many  different  brands of BB
  590. software, each with its own 'feel'.
  591.  
  592. Things are made  even  worse  because  some  programs  allow sysops to
  593. change the appearance of the software completely!
  594.  
  595. This individuality is also one of  the  fun things about BBs, allowing
  596. sysops to put their personal stamps on their bulletin boards.
  597.  
  598. Despite these variations  which  usually  extend to visually different
  599. selection menus and help  screens   the  basic  operation  of most BBs
  600. falls into one of two categories.
  601.  
  602. In nearly all cases, pressing ?  or  H  or  just Return when the BB is
  603. waiting for input will provide  you  with  a help screen detailing the
  604. commands the board will recognise.
  605.  
  606. The simplest BBs are those  which  just  have  Message and File areas,
  607. where going to the area  results  in  your  being  offered a number of
  608. different sections within each category.
  609.  
  610. Selecting the Message area from the  main  menu will normally take you
  611. to the first message  area,  which  may,  for  example, be for General
  612. Messages to and from the Sysop.
  613.  
  614. You can then change to a  different  area  by selecting from a list of
  615. available message areas.  These  are  often  categorised  into special
  616. subjects, such as  Comms  and  Programming,  or  sometimes  into areas
  617. dedicated to different types of computer.
  618.  
  619. File areas tend to be  divided  in  a  similar fashion, into different
  620. types of software, or software for specific makes of micro.
  621.  
  622. The second commonly found type of BB  is one has SIGs Special Interest
  623. Groups. The main difference with these is that once you have logged on
  624. to the BB, you are offered a number  of SIGs to select from. These may
  625. be broken down into different Groups for  each make of computer, or by
  626. subjects.
  627.  
  628. Once you select the SIG  you  want,  you  enter  what is, in effect, a
  629. special BB devoted only  to  that  subject,  often  with just a single
  630. message area, but often a number of different file areas.
  631.  
  632. The advantage of this is that  you  only  get  to see items related to
  633. your chosen subject, whereas with  the  earlier system you must always
  634. select the relevant areas when you switch between Files and Messages.
  635.  
  636. Another advantage of the SIG approach is that the sysop can (and often
  637. does) allow other people to run the different SIGs as sub-sysops.
  638.  
  639. This relieves the pressure  on  him/her  to keep everything up-to-date
  640. and also means that each  area  can  be  run  by  a specialist in that
  641. subject.
  642.  
  643. Message areas provide a place  where  you  can read notices from other
  644. users, reply to them and post new ones of your own for others to read.
  645. This can result in some very interesting "conversations".
  646.  
  647. Most BB software allows users to follow the thread of linked messages,
  648. instead of just reading them  in  the  order  they  were posted on the
  649. board.
  650.  
  651. Most BBs also allow you to  send  private  messages to other users, in
  652. addition to the public messages which can be read by anyone.
  653.  
  654. Files areas are extremely popular  and  often  contain vast amounts of
  655. Public Domain and Shareware  software.  This  usually  consists of the
  656. latest versions, as people are always uploading new versions they have
  657. found, so they quickly spread round the bulletin boards.
  658.  
  659. It will be possible to  List  the  files  in  the area (usually with a
  660. brief description of each program's purpose) and often to Search for a
  661. file or files.
  662.  
  663. You could, for example, search  for  XMODEM  and  obtain a list of all
  664. files  which  contain  the  word  XMODEM   in  either  their  name  or
  665. description. You can  then  choose  to  download  one  or more program
  666. files.
  667.  
  668. Provision is often made for you  to  view the contents of any archived
  669. files before downloading, to make  sure  the  program  is what you are
  670. looking for.
  671.  
  672. The range of  file  transfer  protocols  provided  by  BBs varies, but
  673. usually consists of Xmodem, in its  various  guises, at the very least
  674. and sometimes a choice of as many as fifteen.
  675.  
  676. A warning won't go amiss at this point. Most sysops are only too happy
  677. for you to download software, but some  BBs suffer from what are known
  678. as troughers people who download everything in sight, but never upload
  679. anything, or even leave the sysop a message saying 'Thank you'.
  680.  
  681. Troughers are rarely  popular  and  the  least  you  can  do is upload
  682. something that you notice isn't already  available on the BB and leave
  683. a message when you log off. The whole BB system works on the principle
  684. of give and take, so don't just take!
  685.  
  686. Some sysops operate a time  limit,  which  restricts  you to a maximum
  687. time on line to the  BB  each  day,  while  others limit the number of
  688. files you can download at any time.
  689.  
  690. Generally, if you prove yourself to be the responsible sort, your time
  691. or file limit can be increased by the sysop.
  692.  
  693. As well as Message and  File  areas,  many  BBs have other interesting
  694. areas such as Doors. These provide a means to run another program from
  695. within the BB and a wide range is available.
  696.  
  697. Door programs can be almost  anything,  although  many are games which
  698. you can play on-line and often  see  how you do compared with previous
  699. callers.
  700.  
  701. Bulletin Boards can be fun  and  also  extremely  useful as a means of
  702. obtaining information. They can  also  be  expensive  if you spend too
  703. long on line, so be careful!
  704.  
  705. Finally, when you log off  a  bulletin  board,  try to do so properly,
  706. using the menu option to do so. Don't just drop the line.
  707.  
  708. Most BB software copes quite  happily  happily  with dropped lines and
  709. recovers for the next caller.
  710.  
  711. However, many  of  them  update  user  information  when  you  log off
  712. properly. They can't do this if you just reset your modem or computer.
  713.  
  714.                      PART 8: A QUICK LOOK AT CIX
  715.                      ===========================
  716.  
  717. I have looked at the  bulletin  board  scene  over the last few weeks.
  718. These are mostly free,  but  there  are  also  a  number of commercial
  719. services which make charges for accessing  them,  in much the same way
  720. as you pay to use Prestel.
  721.  
  722. There are two main  types  of  commercial  service. The first includes
  723. bulletin boards which make a charge for their facilities and the other
  724. covers services like Telecom Gold and MicroLink, which also charge.
  725.  
  726. The big difference between the two types  is that services like TG and
  727. MicroLink have nationwide (even international) access numbers, whereas
  728. "commercial BBs" usually require  a  call  directly  to where they are
  729. based.
  730.  
  731. CIX (CompuLink Information eXchange) is  an  example of the commercial
  732. BB. There are many telephone lines into CIX, but they are all based in
  733. the same exchange, meaning the cost  of  a long distance call for many
  734. people in addition to the online charges <sigh>.
  735.  
  736. CIX has developed a reputation for being a 'techy' service, frequented
  737. by computer  gurus.  To  a  certain  extent  this  is  true,  as  many
  738. professional programmers use  CIX  and  it  can  provide  a  wealth of
  739. technical information, but there are  also many "normal" users. (Sorry
  740. all you programmers and techie types  no insult intended!)
  741.  
  742. The software which CIX uses  is  unusual  in  many  respects and has a
  743. reputation for being "unfriendly". I'd  call it different, rather than
  744. hostile and Help is there if you need  it. CIX is also a very powerful
  745. system  with  lots  of  features  and  comms  novices  may  find  this
  746. intimidating.
  747.  
  748. CIX is a conferencing system, which means that it is divided into many
  749. sections (conferences), each  of  which  can  have  a  number  of sub-
  750. sections. I believe there are  several  hundred conferences (I haven't
  751. bothered to count  them!),  covering  every  imaginable  subject, from
  752. Politics to Pascal.
  753.  
  754. One example is the  Arnor  conference,  moderated (maintained) by Mark
  755. Tilley, who is  also  a  Netter,  which  has  topics  for  Protext and
  756. Prodata.
  757.  
  758. Some conferences are private and  you  must  apply,  or be invited, to
  759. join them, although the vast majority are  open to anyone who cares to
  760. join in.
  761.  
  762. CIX doesn't have Message and File areas like most BBs. Instead, it has
  763. files  stored  within  conferences.   Once   you   join  a  particular
  764. conference, you can read the messages  in  any  of its topics. In many
  765. cases you can also find  files  to  download  and  you can also upload
  766. files to a conference topic.
  767.  
  768. CIX is command-driven,  eschewing  the  menu-driven  interface of most
  769. BBs. Once you log on you  are  presented with a simple command prompt,
  770. at which you have to issue the required commands.
  771.  
  772. This is  probably  what  has  gained  CIX  its  reputation  for  being
  773. unfriendly but it is  also  one  of  the  features  which  makes it so
  774. powerful.
  775.  
  776. Another feature is  the  scratchpad.  Instead  of  reading messages on
  777. line, you can save them to  the  scratchpad using commands like File 1
  778. to last, which  will  save  all  the  messages  in  the  topic  to the
  779. scratchpad.
  780.  
  781. You can keep doing this  for  different  topics and conferences, then,
  782. before logging off, you can compress  the  scratchpad into an ARC file
  783. and download it, saving time and money.
  784.  
  785. CIX also provides a private messaging  system allowing you not only to
  786. send message to and receive  messages  from  other  users, but also to
  787. send and receive files.
  788.  
  789. The drawback is that unless you  are  lucky  enough to be within local
  790. call reach of CIX, the cost can be extremely high  long-distance phone
  791. call plus online time charges.
  792.  
  793. If you think Prestel is expensive, then forget about CIX!
  794.  
  795. I shall look  at  the  commercial  services  which  provide more local
  796. access next week.
  797.  
  798.                       PART 9: LOGGING ON TO GOLD
  799.                       ==========================
  800.  
  801. There  are  many  commercial  services.   Some  only  provide  private
  802. facilities  for  companies   and   organisations   on   payment  of  a
  803. subscription, but a number are  open  to  anybody  prepared to pay the
  804. charges.
  805.  
  806. Two of the better known, particularly  to the home computing and small
  807. business communities, are Telecom Gold and MicroLink.
  808.  
  809. MicroLink was part of  the  Telecom  Gold  network until October 1989,
  810. when it moved onto the Istel  INet  network. I shall look at MicroLink
  811. later.
  812.  
  813. Telecom Gold provides local call access to  users in many parts of the
  814. country (guess who isn't one of  them!),  by  means of the PSS (Packet
  815. Switched Stream) network.
  816.  
  817. Currently, the maximum baud rate  available  is 1200/1200 over the PSS
  818. network, but I understand that work  is  in  hand to not only increase
  819. this to 2400 baud, but also to make MNP error correction available.
  820.  
  821. 2400 baud and MNP to level 5  are  available on TG, but currently only
  822. by dialling a London number, which  also supports 300/300, 1200/75 and
  823. 1200/1200.
  824.  
  825. Like Prestel, TG is a 7-bit  system,  requiring the same settings of 7
  826. bits, Even Parity and One Stop  bit (7-E-1), but unlike Prestel, which
  827. is displayed as frames of text, TG is a scrolling terminal system.
  828.  
  829. The London direct multi-baud rate  number  also allows 8-N-1 access (8
  830. bits, No Parity, One Stop bit) but this does require suitable software
  831. capable of "stripping" the extra bit from text displayed on screen.
  832.  
  833. The advantage of being able  to  use  8-bit communications is apparent
  834. when you consider that most file transfer protocols (except Kermit and
  835. Modem7) require 8 bits to work.
  836.  
  837. Both Xmodem and  Ymodem  file  transfer  protocols  are available when
  838. using the London number and the Ymodem-g "streaming" protocol, for use
  839. with error-correcting  protocols  such  as  MNP,  is  also  available.
  840. Further protocols will no doubt be added in time.
  841.  
  842. If you are dialling into  TG  via  PSS,  you  must press Return twice,
  843. input A2 followed by a  couple  more  Returns  as soon as the carriers
  844. connect. You will then be presented with the input prompt NUI?
  845.  
  846. This is asking you to enter your  Network User Identity, which you are
  847. given when you join Telecom Gold. Note  that  when you key it in, only
  848. the first part is echoed back to your screen.
  849.  
  850. The next prompt is  ADD?,  to  which  you  have  to reply with another
  851. sequence of characters which you are also given when you join.
  852.  
  853. Things are a lot simpler if you  dial the London number direct you are
  854. merely greeted with a PAD> prompt,  to  which you reply CALL nn, where
  855. nn is the number of the TG  service  you  want  to use. In the case of
  856. InterLink, Micronet's own Gold service, it  is 74. From this point on,
  857. you are into the TG system and  everything  is the same, no matter how
  858. you connected.
  859.  
  860. You are now asked to Please  sign  on  and should enter ID cccnnnnn at
  861. the > prompt, where ccc  are  the  three  characters and nnnnn are the
  862. numbers which make up your ID.  Finally,  you  are asked to enter your
  863. password.
  864.  
  865. That may all sound a little complicated but most comms software either
  866. provides the facility to send the  responses automatically, or you can
  867. put them in macros, requiring only a keypress or two.
  868.  
  869. By the way, with  security  in  mind,  never  include passwords in any
  870. automatic log-on sequences you have stored on disc.
  871.  
  872. There is another way for Micronetters to gain access to TG this is via
  873. the InterLink Gateway on Prestel. InterLink is the service provided by
  874. Micronet and allows the cheapest access  of  all to Telecom Gold, even
  875. though you have to  pay  an  extra  charge  over  and  above your your
  876. Micronet sub to access it.
  877.  
  878. The easiest way to access InterLink  from  within Prestel is by keying
  879. *INTERLINK#, then following the routes from there.
  880.  
  881. Two gateways are available. The  first  of  these uses a semi-videotex
  882. format,  where  everything  is  converted  into  40-column  width  and
  883. displayed as frames.
  884.  
  885. The second is a scrolling gateway, which  allows you to use TG in much
  886. the same way you would when accessing via PSS or dialling London.
  887.  
  888. This is the most  satisfactory  way,  but  does require comms software
  889. which can switch  between  viewdata  and  scrolling  displays while on
  890. line. Not all comms proggies can do this. Accessing TG via the Gateway
  891. is an ideal way of receiving mail, as  you  can get it as fast as your
  892. software and modem allow.
  893.  
  894. It is not ideal for  sending  messages,  though,  due to the fact that
  895. Prestel does  not  use  handshaking  and  its  buffers  soon  fill and
  896. overflow, as they do if you  try  uploading  text to a Prestel Mailbox
  897. faster than 300 baud.
  898.  
  899. I find I use the gateway to read and download most of my mail and dial
  900. either PSS or London to upload mail.
  901.  
  902. Next week, I shall look at what you can do once you are on line to TG.
  903.  
  904.  
  905.                    PART 10: ON LINE TO TELECOM GOLD
  906.                    ================================
  907.  
  908. Whereas Prestel is an  interactive  medium,  with  its  chat areas and
  909. publicly readable letters  areas,  Telecom  Gold  is  mainly  used for
  910. sending private messages.
  911.  
  912. Being a scrolling system,  TG  is  ideal  for  handling large lumps of
  913. text. It permits full-screen-width messages  of unlimited length to be
  914. sent and received. (To the  best  of  my  knowledge;  I have not tried
  915. sending a never-ending message!) This article will find its way to the
  916. Micronet office via TG.
  917.  
  918. Telecom Gold messaging  offers  many  options.  Sending  and receiving
  919. messages is relatively simple once  you  have  sorted out what you are
  920. supposed to be doing.
  921.  
  922. The same message can be sent  to  many  people at the same time. Blind
  923. Copies, where the recipient is  not  aware  that  the message has been
  924. sent to others and Carbon Copies, which list the other recipients, may
  925. be sent.
  926.  
  927. Messages received can be forwarded to others, receipt of your messages
  928. at the other  end  acknowledged  and  you  can  even  request that the
  929. message recipient is placed in  "reply"  mode  as soon as she/he reads
  930. your message.
  931.  
  932. Marking a  message  as  Express  will  send  it  to  the  top  of  the
  933. recipient's queue of messages.
  934.  
  935. If you want more information on the command syntax used with messaging
  936. (and other options),  there  is  a  considerable  amount  available on
  937. Micronet. Type *INTERLINK# for the main InterLink menu, then Key 2 for
  938. the InterLink User Guide.
  939.  
  940. One item barely mentioned  (alas)  in  the  User  Guide  is the PCMAIL
  941. command previously called WPMAIL which  is  just about the most useful
  942. command I know, enabling a lot  of  messages  to be uploaded at one go
  943. extremely easily. Many people haven't even discovered it.
  944.  
  945. The user creates a single  text  file  (using  a word processor) which
  946. contains the messages and  where  they  are  to  be sent. Once online,
  947. she/he just types PCMAIL and sets their uploader going.
  948.  
  949. As long as the user has included  the .S command (which actually sends
  950. the message) at the end of  each  message  and  .END at the end of the
  951. file, TG will do the rest.
  952.  
  953. A useful tip is to add -ECHO to the PCMAIL command, so that everything
  954. is displayed on your  screen  as  it  is  uploaded. Full details about
  955. PCMAIL are available on TG by typing INFO PCMAIL at the > prompt.
  956.  
  957. INFO is a very useful  command,  providing online help and information
  958. on a wide range of subjects. Some info  files are quite long, so it is
  959. worth capturing them with your software and digesting the contents off
  960. line.
  961.  
  962. INFO INFO tells you which  subjects  have  INFO files available. There
  963. are so many  INFO  files  that  you  could  probably  spend a lifetime
  964. reading them all!
  965.  
  966. Telexes may be received and sent worldwide via InterLink and full help
  967. is available in the InterLink User  Guide.  Extra charges are made for
  968. sending telexes, according to the number of characters sent.
  969.  
  970. Beware! Do NOT use the  TELEX  command  unless  you  intend to use the
  971. service, as it creates a  file  called  TELEX2 which you cannot delete
  972. yourself and which incurs a small storage charge.
  973.  
  974. Faxes may also be  sent  via  TG  and,  again,  the procedure is fully
  975. described in the User  Guide.  Unfortunately,  it  is  not possible to
  976. receive incoming faxes, nor to to  send faxes containing graphics, but
  977. in many situations this is acceptable and far cheaper than using a fax
  978. bureau.
  979.  
  980. Apart from messaging in its various  forms, TG has many other services
  981. which can be accessed.  For  example,  there's Jordans, which contains
  982. Companies House information on large companies.
  983.  
  984. Use INFO DATABASE  at  the  >  prompt  for  full  details of available
  985. databases. You can even  get  information  on  the  BBC  TV Micro Live
  986. series if you really feel you have to!
  987.  
  988. There is a lot of information available on  TG and some of it does not
  989. appear to  be  particularly  well  publicised.  A  useful  command  is
  990. GOLDNEWS, which periodically  provides  information  on  new items and
  991. changes.
  992.  
  993. Using InterLink via the Prestel gateway is an ideal means of accessing
  994. TG to receive mail and  to  indulge  in  a  bit  of browsing, as it is
  995. cheaper than accessing it via PSS.
  996.  
  997. But until Prestel can handle the  uploading  of messages at a sensible
  998. speed, it is better to use PSS to upload messages if you have prepared
  999. them off line.
  1000.  
  1001.                           PART 11: MICROLINK
  1002.                           ==================
  1003.  
  1004. MicroLink has been going for a number  of years. Originally, it was on
  1005. Telecom  Gold  and  offered  a   range   of  facilities,  including  a
  1006. "traditional" BB for messages to be  posted  on and access to a number
  1007. of specialist services. Last year MicroLink  moved from TG to the Inet
  1008. Istel network.
  1009.  
  1010. There is a larger number of access points than for TG, but these are a
  1011. mixture of baud rates and you may  find,  as I do, that the only local
  1012. number  is  a  1200/75  number.  This   is  alright  for  reading  and
  1013. downloading, but is hopeless for uploading anything.
  1014.  
  1015. There are also several  1200/1200  and  2400/2400  access points and a
  1016. number of multi baud rate numbers. Some access points also provide MNP
  1017. error correction, but only to level 2, though some of the newer access
  1018. points offer level 4.
  1019.  
  1020. One strange thing I have found with  the system is that very often the
  1021. 1200 and 2400 numbers are  considerably  slower  than the 1200/75 baud
  1022. numbers.
  1023.  
  1024. I suspect the reason for  this  is  that  the 1200/75 baud numbers are
  1025. actually a different network and may  well be less heavily loaded with
  1026. traffic.
  1027.  
  1028. A lot of new and  enhanced  features  were  promised when the move was
  1029. announced, but many  have  only  just  come  online,  or  are still in
  1030. abeyance. Access is available to a number of information databases and
  1031. also to multi-user games.
  1032.  
  1033. At first, a lot of people  found  the  new system very confusing for a
  1034. number of reasons.  Many  things  are  very  different  and  take some
  1035. getting used to. Caucus is one of these.
  1036.  
  1037. Caucus is the name of  the  Bulletin  Board  software and, though it's
  1038. very powerful, it is also  quite  confusing  and not very intuitive to
  1039. use. This hasn't been  helped  by  the  fact  that  only  a very basic
  1040. introduction to the system was provided  at the time of the changeover
  1041. and, as far as I know, full documentation  on how to use the system is
  1042. still not available.
  1043.  
  1044. Caucus offers a  "conferencing"  system  it  is  broken  into separate
  1045. sections devoted to different makes of computer and subjects.
  1046.  
  1047. Messaging on MicroLink vaguely resembles that  on TG, but without many
  1048. of the options and, again, is not very intuitive. Most systems use the
  1049. word Send to send a message MicroLink uses Compose!
  1050.  
  1051. This is one of  the  problems  with  MicroLink.  The various parts use
  1052. different software, requiring different syntax  to  be used to perform
  1053. the same tasks in different areas.
  1054.  
  1055. Sending a message  is  totally  different  from  posting  a message on
  1056. Caucus.  You  also  find  that  different  commands  are  required  at
  1057. different stages to move back up the tree structure.
  1058.  
  1059. Another problem is that  some  parts  of  the  system  actually run on
  1060. different computers. The effect of this is that if you are reading the
  1061. letters in the PC Link area, you cannot reply to them directly, as you
  1062. could before, but have to exit PC  Link, go back to the main messaging
  1063. area and send sorry, Compose a message from there.
  1064.  
  1065. If you thought TG was confusing,  then  MicroLink might make you think
  1066. again. This is all the  more  surprising  when  you consider the large
  1067. menus which appear at every possible opportunity and the volumes of on
  1068. line help available!
  1069.  
  1070. The  only  solution  is  to  use  MicroLink  often  enough  to  become
  1071. conversant with it. Repeatedly calling  up  the extremely verbose help
  1072. is an expensive pastime, as  you  are  charged  for every block of 500
  1073. characters received.
  1074.  
  1075. It is also possible  to  send  messages  to  a  number  of other email
  1076. networks. This used to  include  Telecom  Gold,  but I understand that
  1077. this facility has now been withdrawn.
  1078.  
  1079. File transfer is  currently  very  rudimentary,  consisting  only of a
  1080. non-windowing version of  Kermit,  which  appears  to  be very quirky.
  1081. Other protocols are promised for the future, but not yet implemented.
  1082.  
  1083. Overall, MicroLink promises a  lot,  but  still  seems to be suffering
  1084. from teething troubles.
  1085.  
  1086. While local call access is more  widely  available than with TG, there
  1087. appears to  be  a  fair  amount  of  trouble  with  keeping  them  all
  1088. functioning, with numbers periodically "going down".
  1089.  
  1090. Very frustrating if your next nearest number is a long distance call!
  1091.  
  1092.                    PART 12: FILE TRANSFER PROTOCOLS
  1093.                    ================================
  1094.  
  1095. Some weeks ago I  said  I  would  come  back  to  the  subject of file
  1096. transfer protocols, so I will take a break from looking at the various
  1097. on line services this week.
  1098.  
  1099. Depending on the sort of data you  want to transmit over the telephone
  1100. lines, some form of error  checking  is  important, even vital. If you
  1101. only send text files, it may  be  sufficient  to just transmit them as
  1102. ASCII files without any error  correction  and hope that noise doesn't
  1103. corrupt anything.
  1104.  
  1105. It is easy enough to see  where  corruption has occurred in text files
  1106. as bits will not make  sense  and  usually  you  can make sort out any
  1107. corrupted bits.
  1108.  
  1109. Many businesses transfer considerable amounts of data between branches
  1110. as part of their  business  and  in  such  cases  it is essential that
  1111. corruption does not occur. The same is also true of some text files.
  1112.  
  1113. Trying to detect corruption in a  text file containing lots of numbers
  1114. may well be difficult and if you are sending anything to a typesetting
  1115. company, they aren't going to  waste  their  time  reading the text to
  1116. check for corruption.
  1117.  
  1118. Bulletin Boards thrive on the passing backwards and forwards of PD and
  1119. Shareware programs and file transfer protocols  are part and parcel of
  1120. this process.
  1121.  
  1122. In simple terms, file  transfer  protocols  function by 'chopping' the
  1123. file into chunks, or packets,  and  transmitting  them with markers to
  1124. indicate the start and end of  the  packet, together with some form of
  1125. checksum figure.
  1126.  
  1127. Once the packet has been received  the  receiving end strips out start
  1128. and end markers, performs a  check  sum  analysis on the received data
  1129. and compares the result with the  checksum it received. If they match,
  1130. the data is alright and  an  acknowledgement  is  sent,  but if not, a
  1131. 'request to re-send' is made.
  1132.  
  1133. The most commonly encountered file  transfer  protocol must be Xmodem.
  1134. This was originally developed  by  a  gentleman  by  the  name of Ward
  1135. Christiansen, who put the protocol into the Public Domain.
  1136.  
  1137. Xmodem is a relatively old protocol  now,  but remains popular for the
  1138. reason that just about every comms program includes it as at least one
  1139. of its options. There are one or  two that don't provide any protocols
  1140. at all and others,  mostly  specialist,  which  only provide their own
  1141. proprietary protocols, but, in general, if the program supports a file
  1142. transfer protocol, it will be Xmodem.
  1143.  
  1144. Even Xmodem is available  in  a  variety  of  flavours. There are both
  1145. Xmodem CRC Xmodem Checksum and Xmodem-1K types.
  1146.  
  1147. CRC and Checksum are essentially the same with the exception that they
  1148. use different methods of checking the integrity of the blocks.
  1149.  
  1150. CRC, incidentally is short  for  Cyclic  Redundancy  Check. I won't go
  1151. into any further details about the differences, other than to say that
  1152. CRC is  more  efficient  thanbChecksum,  so  if  it  supported  by the
  1153. software at both ends, use it. Most versions of Xmodem will attempt to
  1154. use CRC checking initially and fall  back  to Checksum if that is what
  1155. the transmitting program is using.
  1156.  
  1157. Xmodem-1K differs from Xmodem in that it transfers blocks in 1K chunks
  1158. rather than the standard 128  byte  blocks.  The  effect of this is to
  1159. considerably speed up the transfer of data for a number of reasons.
  1160.  
  1161. Firstly, as the  blocks  are  larger,  fewer  have  to  be  packed and
  1162. unpacked, which saves processing time  and  also reduces the number of
  1163. bytes transmitted, as the various packet markers and checksums all add
  1164. to the amount to be sent.
  1165.  
  1166. Secondly, Xmodem waits for an acknowledgement from the other end after
  1167. every block, before either re-sending  the  block if it was corrupted,
  1168. or sending the next block.
  1169.  
  1170. The disadvantage of using  Xmodem-1K  is  that  if  a packet fails the
  1171. check, the whole 1K must be  re-sent.  Unless the line is particularly
  1172. bad considerable  time  savings  can  result  from  using  the  larger
  1173. packets.
  1174.  
  1175. Xmodem is a single file transfer  protocol,  meaning that you can only
  1176. send one file at a time  and  you  have  to tell the receiving end the
  1177. name of the file before starting.
  1178.  
  1179. Over the years, many new protocols  have been developed, most of which
  1180. have their roots in Xmodem.  One  of  the most commonly encountered of
  1181. these is Ymodem which was developed by Chuck Forsberg.
  1182.  
  1183. Ymodem is basically the same as Xmodem-1K, but was originally intended
  1184. to be able to  transfer  multiple  files.  This  was  made possible by
  1185. Ymodem sending a header to  the  other  end, containing details of the
  1186. name of the file  being  sent,  its  size  and date/time stamp, before
  1187. commencing  the  true  file  transfer.   Ymodem  still  waits  for  an
  1188. acknowledgement from  the  other  end  before  transmitting  the  next
  1189. packet.
  1190.  
  1191. Unfortunately, some of the implement-ations  of Ymodem weren't as good
  1192. as they should have been and even though they sent the file name, many
  1193. of them would only receive  a  single file. Ymodem-Batch was developed
  1194. as a result and does allow  the  transfer  of  more than one file in a
  1195. session, with a new header block being transmitted between each file.
  1196.  
  1197. This was a big step forward,  allowing, as it did, unattended transfer
  1198. of many files.
  1199.  
  1200. I shall continue with the discussion  of  the main protocols and their
  1201. merits next week.
  1202.  
  1203.                            PART 13: ZMODEM
  1204.                            ===============
  1205.  
  1206. Perhaps one of the  most  common  variants  of  Xmodem is Zmodem, also
  1207. developed by Chuck  Forsberg.  This  addressed  several limitations of
  1208. Xmodem, Ymodem and also introduced a number of new features.
  1209.  
  1210. The first enhancement was  a  tightening  up  on the error-checking by
  1211. using a 32-bit CRC check,  which  reduced even further the possibility
  1212. of corruption.
  1213.  
  1214. With Xmodem there is a small chance  that two errors in a packet might
  1215. cancel each other out, giving  the  impression  that everything is OK.
  1216. Using a 32-bit check reduces that chance even further.
  1217.  
  1218. Zmodem also tackled  the  problem  of  speed  by  eliminating the wait
  1219. between  blocks  while  the   transmitting   program   waited  for  an
  1220. acknowledgement or a request to resend.
  1221.  
  1222. Basically, Zmodem keeps transmitting blocks one after another until it
  1223. receives a request to re-send  if  there  is  anything is wrong with a
  1224. block, or transmission and  reception  get  out  of step. This reduces
  1225. delays considerably.
  1226.  
  1227. Zmodem uses a sophisticated method of  coping  with bad lines and line
  1228. noise. Depending on the  speed  of  the  connection between computers,
  1229. Zmodem will typically transmit 1K blocks with 2000 bps connections (at
  1230. lower speeds it starts with a smaller block size).
  1231.  
  1232. If a request is received to resend  a block, depending on the cause of
  1233. the problem, Zmodem will reduce  the  block  size  by  half, so only a
  1234. 512-byte block is sent. If  this  is  successful,  it will continue to
  1235. send 1K blocks for a while, but  if no more errors are encountered, it
  1236. will step up a gear again and start transmitting 1K blocks.
  1237.  
  1238. Conversely, if it meets failures with 1K  blocks, it will drop down to
  1239. 128-byte blocks and then step  back  up  if everything is alright. The
  1240. smallest block size I have seen is 32 bytes.
  1241.  
  1242. Although sending  smaller  blocks  is  less  efficient,  because  more
  1243. processing is required, it is  still  relatively efficient as there is
  1244. no pause between blocks.  Another  advantage  is  that the smaller the
  1245. block, the less likelihood of a block being corrupted and the transfer
  1246. fail due to excessive re-tries of the same block.
  1247.  
  1248. I  have  seen  Zmodem  successfully  transfer  files  when  all  other
  1249. protocols have been beaten by line noise.
  1250.  
  1251. Not content with such  enhancements,  file  transfer recovery features
  1252. were included. If a  file  transfer  fails,  the the receiving program
  1253. closes down the file in an  orderly fashion, rather than abandoning it
  1254. as some protocols do.
  1255.  
  1256. If the original uploader rings back (it  can be at any later date) and
  1257. tries to re-upload the file, the receiving end checks whether the file
  1258. exists, then tells the transmitter how big it is.
  1259.  
  1260. If there is a difference in  file  size,  a  comparison is made of the
  1261. last block uploaded and transmission continues from where it left off.
  1262. A real boon if a transfer fails after 350K!
  1263.  
  1264. If the two files don't match  up  to  the point when failure occurred,
  1265. Zmodem re-transmits the complete  file.  This  can  also happen if you
  1266. tried to upload a different version of a file with the same name.
  1267.  
  1268. Zmodem also has many other bells  and whistles and may include options
  1269. to allow or restrict the  transmission  of  directory paths as well as
  1270. filenames, suppress the overwriting of existing files of the same name
  1271. at the destination and even automatically  to commence a download when
  1272. the other end transmits a special sequence of codes.
  1273.  
  1274. Even though the Zmodem protocol has  been  put into the Public Domain,
  1275. it's only fairly recently  that  versions  have appeared for computers
  1276. other than the PC. It is now available  for ST, Amiga and even in CP/M
  1277. versions as well as for UNIX-based machines.
  1278.  
  1279. Zmodem is also available in "add-on" form  so  that it may be run from
  1280. any comms program if it supports external protocols which many do.
  1281.  
  1282. I would say that, currently,  Zmodem  is  the most frequently found of
  1283. the newer protocols and is the one most people will choose.
  1284.  
  1285. Next week I shall look at some of the other popular protocols.
  1286.  
  1287.                    PART 14: KERMIT AND SOME OTHERS
  1288.                    ===============================
  1289.  
  1290. Kermit is a very popular protocol,  not  only  because there is a good
  1291. chance that it will be available for  most systems, but because it has
  1292. one other feature which almost makes it unique.
  1293.  
  1294. Whereas most file transfer  protocols  require 8-bit communications in
  1295. order to work, Kermit can work on  both  7-bit and 8-bit systems. As a
  1296. result, Kermit has been  popular  with  Telecom  Gold  and other 7-bit
  1297. systems for some time.
  1298.  
  1299. Kermit is American in origin (aren't  they  all?) and was developed by
  1300. Columbia University and, yes, it is named after the Muppet frog!
  1301.  
  1302. The protocol was placed into the  Public  Domain,  which is one of the
  1303. reasons why it has been implemented  in  so many operating systems and
  1304. comms programs.
  1305.  
  1306. In the UK, Kermit is  officially  represented by Lancaster University,
  1307. who can supply support and advice if necessary.
  1308.  
  1309. There are many different versions of Kermit available, but all of them
  1310. agree on the highest common features and use them during transmission.
  1311. This means that if you  have  a  modern  version  of Kermit and try to
  1312. communicate with an older  version  with  fewer features, the programs
  1313. will sort out the highest common features and use those.
  1314.  
  1315. Some of  the  developments  to  Kermit  include  data  compression and
  1316. sliding windows. This last  feature  makes  a big difference, allowing
  1317. full-duplex  communications,  with   the   program  transmitting  data
  1318. continuously, while at the same  time  scanning for responses from the
  1319. other end.
  1320.  
  1321. Many versions of Kermit include Server Mode, in addition to the normal
  1322. file transfer mode Telecom Gold uses it.
  1323.  
  1324. Selecting server mode  puts  you  in  control  of  the host computer's
  1325. protocol and use commands  such  as  GET,  SEND,  LOGOUT and FINISH to
  1326. control transfers, log off or return  to the normal mode on completion
  1327. of transfers.
  1328.  
  1329. The  different  versions  vary  wildly  in  efficiency;  the  standard
  1330. protocol isn't particularly quick,  but  sliding windows versions have
  1331. quite reasonable transfer rates.
  1332.  
  1333. There are also a number of  other  protocols which regularly appear on
  1334. bulletin boards, many of which are only available for use on PCs.
  1335.  
  1336. SEALink  is  a  proprietary  protocol,  based  on  a  sliding  windows
  1337. development of Xmodem. It  was  originally  developed  to overcome the
  1338. delays which occur when Xmodem is used with PSS networks and satellite
  1339. transmissions.
  1340.  
  1341. These have a disastrous effect on the transfer spped of normal Xmodem,
  1342. which always waits  for  an  acknowledgement  before  sending the next
  1343. block. SEALink appears to work alright,  but has few, if any, benefits
  1344. over the other streaming protocols.
  1345.  
  1346. CompuServe B  (CIS  B)  is  a  protocol  developed  for  users  of the
  1347. CompuServe Information Service in the USA.
  1348.  
  1349. MegaLink is yet another protocol  with  its  roots in Xmodem, the main
  1350. differences being that it uses 512-byte blocks for faster transfer and
  1351. a 32-bit checksum for more accurate error-checking.
  1352.  
  1353. Another interesting protocol is Jmodem.  What  makes it different from
  1354. most protocols is that it starts off  with small (512 byte) blocks and
  1355. if the line appears good, with no re-tries, it gradually increases the
  1356. size of the block in jumps of 512 bytes, up to a maximum of 8K blocks.
  1357.  
  1358. If a block fails to check,  it  is  re-transmitted, but reduced by 512
  1359. bytes, up to a maximum of 8K blocks.  If a block fails to check, it is
  1360. re-transmitted, but reduced by 512 bytes  in  size. If it still fails,
  1361. it is reduced again and so on.
  1362.  
  1363. The one big flaw with Jmodem is  that  if  you manage to build up to a
  1364. big block size and then have a failed block transfer, the whole 8K has
  1365. to be re-transmitted.
  1366.  
  1367. Other protocols which have appeared on the scene recently include Lynx
  1368. and Puma, both by the same  author  and trying to make improvements on
  1369. Zmodem, which is probably the current leader in the popularity stakes.
  1370.  
  1371. Both protocols provide similar  facilities,  but  appear  not to offer
  1372. anything really new except, possibly, a slight increase in speed.
  1373.  
  1374. BiModem is the most interesting of  the new protocols and is radically
  1375. different from all  the  others  I've  I've  described. BiModem allows
  1376. files to be transferred in both  directions simultaneously and with no
  1377. apparent loss in transfer speed.
  1378.  
  1379. On top of that, BiModem enables you  to  "chat" with the person at the
  1380. other end at the same time with  error correction! The program is very
  1381. complex  and  still  exhibits  one  or   two  minor  quirks,  but  is,
  1382. nonetheless, a remarkable achievement.
  1383.  
  1384. I have used it quite extensively  in  the  last month or two and never
  1385. cease to  be  impressed  with  the  speed  at  which  files  are being
  1386. transferred, with transfer rates  in  both  directions typically being
  1387. slightly faster than Zmodem.  I  think  we  shall  see  a  lot more of
  1388. BiModem in the future.
  1389.  
  1390. That concludes my look at  file  transfer protocols. I haven't covered
  1391. them all, but have tried to look at those which are readily found and,
  1392. to a great extent, those which  are  available  for  use on a range of
  1393. different computers.
  1394.  
  1395.                          PART 15: DUMB MODEMS
  1396.                          ====================
  1397.  
  1398. In general, the old saying that you  get  what you pay for stands true
  1399. for modems. Having said this, there  is  sometimes a wide variation in
  1400. the price of equally powerful units.
  1401.  
  1402. I do not intend to go into  great  detail about the actual workings of
  1403. modems, as Paul Blitz's excellent  'Advanced  Comms' series running at
  1404. the moment gives the low down on all the technical stuff.
  1405.  
  1406. There are two  types  of  modem:  intelligent  and  dumb. Intelligence
  1407. refers  to  whether  the  modem  actually  contains  any  software  to
  1408. interpret and control what is going on. Some of the latest intelligent
  1409. modems contain their  own  processors  which  are  as  powerful as the
  1410. average computer. Nevertheless, dumb  modems  are not entirely without
  1411. intelligence.
  1412.  
  1413. A typical dumb modem is the  Datachat  1223, which is free to Micronet
  1414. subscribers. There is absolutely nothing  wrong with dumb modems; they
  1415. work as well as  any  other  modem  within  their  restricted range of
  1416. speeds. In many cases,  the  only  speeds  available  are  300 bps and
  1417. 1200/75 bps.
  1418.  
  1419. Generally speaking,  they  have  no  facility  to  auto-dial  numbers.
  1420. Instead, you have to dial  the  number  using  your telephone and then
  1421. press the online switch once you  hear  the  carrier at the other end.
  1422. You also have to set the  speed  manually  to the required rate before
  1423. going on line and, when a  call  finishes,  drop the line by switching
  1424. off.
  1425.  
  1426. There is one major  disadvantage  to  most  dumb  modems which becomes
  1427. apparent when you try to use  them  with modern computers. The 1200/75
  1428. split baud rate  is  not  used  in  the  USA  and,  since most popular
  1429. computers have their roots  in  America,  they  don't  split rates. In
  1430. addition, a fair percentage of comms software is American and does not
  1431. support 1200/75 bps either.
  1432.  
  1433. This means that the computer  can  only  be  connected to the modem at
  1434. 300/300 bps, which  works  fine,  or  1200/1200,  which  will not work
  1435. properly. You may get a connection  and actually receive data, but you
  1436. won't be able to transmit anything.
  1437.  
  1438. Intelligent modems have a buffer  which  can  capture data and hold it
  1439. while transmitting it at 75  bps.  There's  no need to buffer received
  1440. data, as this is passed through at  1200  bps. Dumb modems do not have
  1441. buffers, mainly because they have no software to control them.
  1442.  
  1443. It is still possible to use  1200/75  bps  with dumb modems as long as
  1444. the software is  specially  written  to  do  the  necessary work. Many
  1445. British comms programs are written to  take this into account and when
  1446. used with a dumb modem, they perform some very clever switching of the
  1447. baud rates between 1200/1200  and  75/75  bps,  so  that they are able
  1448. receive at 1200 and transmit at 75 bps.
  1449.  
  1450. The more sophisticated dumb  modems  provide  a form of auto-dialling,
  1451. but this is not done  in  any  intelligent way. The software "rattles"
  1452. the lines in much the same way that you can rattle a telephone to dial
  1453. a number.
  1454.  
  1455. As long as the software  sends  the  appropriate  number of "highs and
  1456. lows" at suitable intervals,  the  telephone  line  can be fooled into
  1457. thinking that someone is  dialling  the  number manually. Examples are
  1458. the Magic Modem and Voyager.
  1459.  
  1460. Intelligent modems are a different matter  altogether and I shall look
  1461. at them next week.
  1462.  
  1463.                      PART 16: INTELLIGENT MODEMS
  1464.                      ===========================
  1465.  
  1466. Most people think of intelligent modems being Hayes-compatible modems.
  1467. This is not strictly true. Hayes  modems are intelligent, but they are
  1468. not the only intelligent ones.
  1469.  
  1470. An intelligent modem is one which contains its own software and is, to
  1471. a great extent, capable of  controlling  the  transfer  of data to the
  1472. other modem on its own.
  1473.  
  1474. Intelligent modems are told what to do by the software sending special
  1475. escape sequences down the serial cable.
  1476.  
  1477. The modem  initially  scans  the  data  received  from  the  computer,
  1478. watching for these escape sequences. Once  it finds one it recognises,
  1479. it interprets it and acts accordingly.
  1480.  
  1481. The Hayes command set is the  most  commonly encountered set of escape
  1482. codes, although there are others.
  1483.  
  1484. Many of these are proprietary  they  belong, technically, to the modem
  1485. manufacturer who invented them. Most of  these  have now fallen by the
  1486. wayside, leaving the Hayes set as the favourite.
  1487.  
  1488. There is one other command set  which  is found in reasonable numbers,
  1489. usually offered as an alternative to  the  Hayes set and this is known
  1490. as V25.
  1491.  
  1492. The reason for the inclusion  of  V25  probably  owes more to the fact
  1493. that it is a standard and readily available to anyone to use.
  1494.  
  1495. The Hayes set, however,  is  proprietary  and  it  may be possible for
  1496. Hayes Microcomputer Products Inc to  prevent other modem manufacturers
  1497. from using its command set.
  1498.  
  1499. Intelligent  modems  also  offer   speed-buffering:  this  allows  the
  1500. computer to be connected to the modem at one speed, while the modem is
  1501. connected to another modem at a different speed.
  1502.  
  1503. The modem's software handles the storing  of  data both from the other
  1504. modem and the computer and passing it on at the appropriate speeds.
  1505.  
  1506. Many intelligent modems  can  cope  with  split  baud  rates and speed
  1507. buffering is beneficial when the modem is connected to a service which
  1508. only supports 1200/75 baud  rates  while  the computer itself doesn't.
  1509. This includes IBM  PC  compatibles,  the  Atari  ST  and the Commodore
  1510. Amiga.
  1511.  
  1512. Speed-buffering also  becomes  an  important  factor  when  the  modem
  1513. incorporates MNP error correction.
  1514.  
  1515. The higher levels of MNP (5 and  above) allow data compression to such
  1516. an extent that it is possible to  double the rate of transfer with MNP
  1517. 5 and even more with the higher levels.
  1518.  
  1519. The data may transferred between modems at  2400 bps, but if the modem
  1520. is also connected to the computer at 2400 bps, a bottleneck is formed.
  1521.  
  1522. Once a block of data has  been  transferred  using MNP, it is unpacked
  1523. and may double in size, which means that  twice as much data has to be
  1524. passed on to the computer.
  1525.  
  1526. If the modem-computer connection is at  2400  bps, the modem will have
  1527. to wait while this  is  transmitted  to  the  computer  and the buffer
  1528. cleared before it can request more data from the other modem.
  1529.  
  1530. Similarly, if the data is passed  from  the  computer to the modem for
  1531. transmission at 2400 bps, the  modem  will  have  to wait until it has
  1532. received twice as much data, before it  can compress it and pass it on
  1533. to the other modem.  The  effect  of  this  is  that  the gains of MNP
  1534. compression are lost.
  1535.  
  1536. The solution is to  set  the  computer-to-modem  connection  at a much
  1537. higher baud rate and let the modem buffer it as necessary, until it is
  1538. ready to transmit it, or pass it on to the computer.
  1539.  
  1540. Note that some comms programs  can  handle  MNP  in software, in which
  1541. case there is little  to  be  gained  by  increasing  the speed of the
  1542. modem-computer connection as the expansion  of  the data does not take
  1543. place until it has reached the computer.
  1544.  
  1545.  
  1546.                        PART 17: HAYES COMMANDS
  1547.                        =======================
  1548.  
  1549. In my look at  intelligent  modems  last  week,  I mentioned the Hayes
  1550. command set, which you'll come across quite often.
  1551.  
  1552. The true Hayes command  set  is  actually  quite  limited, with only a
  1553. small range of commands and small number of registers which may be set
  1554. to pre-configure certain features of the modem.
  1555.  
  1556. Most Hayes-compatible modems contain  a  number  of extra commands and
  1557. registers which, technically, are not part of the Hayes standard.
  1558.  
  1559. These have evolved as a result of a need for extra commands to control
  1560. new features in modern modems and also to handle the split baud rates,
  1561. which the Americans have no need for.
  1562.  
  1563. Unfortunately, though the basic Hayes  command set is largely standard
  1564. throughout all modem manufacturers, the same  can  not be said for the
  1565. extended commands and registers.
  1566.  
  1567. This can be a  cause  of  considerable  confusion  and  is  one of the
  1568. reasons why most comms  programs  offer  a  wide  range of alternative
  1569. modem setups for various models of  modem or the facility to configure
  1570. your own setup.
  1571.  
  1572. I understand that Hayes Microcomputer Products have been making noises
  1573. about the command set being its property and that modem makers wishing
  1574. to use it must pay Hayes for the privilege.
  1575.  
  1576. I think this claim is based  on  the  principle of the special on-line
  1577. escape sequence used by Hayes modems, rather than the actual commands.
  1578.  
  1579. When the modem is off-line no  carrier  has been detected from another
  1580. modem it scans all input from the computer for Hayes commands and acts
  1581. on them.
  1582.  
  1583. Once the modem is  on-line,  it  ceases  scanning  for these commands,
  1584. otherwise it would react to every occurrence of commands, even if they
  1585. were part of text being transmitted or received!
  1586.  
  1587. This is where the escape sequence comes into play and, while the modem
  1588. is on line, instead  of  scanning  for  Hayes  commands, it constantly
  1589. scans for the escape sequence.
  1590.  
  1591. By default, this escape sequence is three consecutive plus signs +++.
  1592.  
  1593. It isn't quite as simple as that though, as a "guard time" is required
  1594. before and after the sequence.
  1595.  
  1596. The default guard time demands a  delay  of  one second before and one
  1597. second after the sequence.  If  this  complete  sequence  of delay +++
  1598. delay is not received, or  any  other  characters are sent between the
  1599. plus signs, the modem starts its search again.
  1600.  
  1601. If the sequence is recognised, the  modem goes into local mode nothing
  1602. is transmitted to the other modem and it is virtually off-line, except
  1603. that the carriers are still  locked  between  the two modems. The user
  1604. can then send Hayes  commands  to  the  modem  to change settings, for
  1605. example.
  1606.  
  1607. With two exceptions, the  Hayes  commands  are  all  prefixed with the
  1608. characters  AT  (short  for  ATtention),   followed  by  one  or  more
  1609. characters to specify the  actual  command  and  any parameters it may
  1610. require.
  1611.  
  1612. The two  exceptions  are  AT  which,  used  on  its  own,  elicits  an
  1613. acknowledgment from the modem and A/, which causes the last AT command
  1614. sequence received by by the modem to be repeated.
  1615.  
  1616. A feature of Hayes commands is  that  a  number  of them may be strung
  1617. together into a sequence. When  Return  is  pressed, the whole command
  1618. line is checked and, if valid, each command is acted upon.
  1619.  
  1620. It is only necessary to  have  the  AT  sequence  at  the start of the
  1621. command, to initially get the modem's  attention, after which a number
  1622. of command letters may be used to perform various tasks.
  1623.  
  1624. I won't discuss every command in  detail, as these are usually covered
  1625. by the modem manuals, but next  week  I'll  list the main commands and
  1626. discuss some of  the  more  commonly  misunderstood  ones and problems
  1627. associated with them.
  1628.  
  1629.                  PART 18: HAYES COMMANDS (CONTINUED)
  1630.                  ===================================
  1631.  
  1632. I shall start this week with  a  list  of the Hayes commands which are
  1633. part of the true Hayes command  set  and, theoretically, common to all
  1634. Hayes-compatible modems, then  go  on  to  discuss  some  of  the more
  1635. commonly encountered problems.
  1636.  
  1637. AT
  1638. Get the modem's attention.
  1639.  
  1640. ATA
  1641. Answer. The modem goes on-line, emits  an answer carrier and waits for
  1642. an incoming carrier. If, after a  while, no carrier has been detected,
  1643. the modem will timeout and go off-line.
  1644.  
  1645. ATD
  1646. Dial. If the command is issued on  its own, the modem goes on-line and
  1647. attempts to connect with a modem at  the  other end. If the command is
  1648. followed by a telephone number,  the  modem  will  dial the number and
  1649. attempt to connect.
  1650.  
  1651. ATEn
  1652. Echo. Determines whether the command sent  to the modem is echoed back
  1653. to the computer.
  1654.  
  1655. ATE0
  1656. Not echoed.
  1657.  
  1658. ATE1
  1659. This is the default.
  1660.  
  1661. ATH
  1662. HangUp, or On/Off Hook. This  command  is  used  to force the modem to
  1663. drop the carrier. This is  normally  used  after going into local mode
  1664. with the escape sequence (+++) while on-line, to terminate the call.
  1665.  
  1666. ATIn
  1667. Identity. This command varies slightly from  modem to modem, but gives
  1668. details of the modem and its  software,  version etc, depending on the
  1669. number n following the command.
  1670.  
  1671. ATMn  Monitor.
  1672. This controls the  modem's  internal  speaker  and  normally has three
  1673. possible values, though occasionally more.
  1674.  
  1675. ATM0
  1676. No Speaker at all.
  1677.  
  1678. ATM1
  1679. Speaker on until carriers connect. Default.
  1680.  
  1681. ATM2
  1682. Speaker permanently on.
  1683.  
  1684. ATO
  1685. On-line. Normally used to return to on-line state from local mode.
  1686.  
  1687. ATP
  1688. Pulse dial  default.  Sets  the  default  mode  of  dialling  to pulse
  1689. dialling.
  1690.  
  1691. ATQn
  1692. Quiet. Determines whether result messages are returned to the computer
  1693. in response to Hayes commands received.
  1694.  
  1695. ATQ0
  1696. Result messages sent. Default setting.
  1697.  
  1698. ATQ1
  1699. No results sent.
  1700.  
  1701. ATSn
  1702. Set S registers. The S  registers  allow  certain modem settings to be
  1703. reconfigured and are discussed in more detail later.
  1704.  
  1705. ATT
  1706. Tone dial default. Sets the default mode of dialling to tone dialling.
  1707.  
  1708. ATVn
  1709. Verbose. Determines whether the result codes returned (if ATQ has been
  1710. set to return them) are verbose or terse.
  1711.  
  1712. ATV0
  1713. Terse. Numbers are sent according to the result of the command.
  1714.  
  1715. ATV1
  1716. Verbose. Plain English messages are sent back to the computer.
  1717.  
  1718. ATXn
  1719. Extended result codes. The number of valid values varies from modem to
  1720. modem but, typically, the higher the number, the greater the number of
  1721. different result messages. Zero  will  often  only  send CONNECT or NO
  1722. CARRIER (or their terse values of  0  and 1), while higher values will
  1723. report the speed of the connection, BUSY, NO DIALTONE etc.
  1724.  
  1725. ATZ
  1726. Software reset. Resets the modem to its default settings.
  1727.  
  1728. Some modems are provided  with  battery-backed  RAM  which  is used to
  1729. retain the default settings for a number of the commands.
  1730.  
  1731. If this is the case, two  special  commands  (not strictly part of the
  1732. standard command set) are available to set and reset the RAM.
  1733.  
  1734. AT&F
  1735. Resets the RAM to the factory defaults.
  1736.  
  1737. AT&W
  1738. Writes the current defaults to RAM.
  1739.  
  1740. Many modems  have  considerably  extended  command  sets,  some  to an
  1741. apparently absurd degree, where every feature  you would never want to
  1742. reconfigure can be configured, or all  manner  of on-line tests can be
  1743. made!
  1744.  
  1745. This is usually done with "extended  codes"  such as AT\, AT& and AT%,
  1746. followed by a character or characters.
  1747.  
  1748. The S registers have been briefly mentioned already and enable certain
  1749. new default values to be  set,  using  the  ATS= command. ATS0=10, for
  1750. example, would set S register zero to 10.
  1751.  
  1752. Most modems have  considerably  extended  S  registers,  but the basic
  1753. Hayes S registers,  common  to  all  Hayes  compatible  modems, are as
  1754. follows:
  1755.  
  1756. S0
  1757. The number of rings before the modem  auto answers an incoming call. 0
  1758. disables auto-answer.
  1759.  
  1760. S1
  1761. Indicates the number of  rings  before  a  call  was answered. This is
  1762. normally a read-only register.
  1763.  
  1764. S2
  1765. The Escape character. The default is 43 the + character.
  1766.  
  1767. S3
  1768. Carriage Return. Default 13.
  1769.  
  1770. S4
  1771. Line Feed. Default 10.
  1772.  
  1773. S5
  1774. Backspace. Default 8.
  1775.  
  1776. S6
  1777. Wait time for dial tone before dialling. Default 4 (secs).
  1778.  
  1779. S7
  1780. Wait  time  for  carrier  after  dialling  or  answering.  Default  40
  1781. (seconds)
  1782.  
  1783. S8
  1784. Length of pause when  a  comma  is  used  in  dialling string. Default
  1785. varies, according to modem.
  1786.  
  1787. S9
  1788. Carrier Detect Response  Time.  The  minimum  time  a  carrier must be
  1789. present for the modem to recognise  it  as  a valid carrier. Default 6
  1790. (1/10ths of a second).
  1791.  
  1792. S10
  1793. Lost Carrier Hangup Delay. The amount of  time the modem waits after a
  1794. carrier is lost before hanging up.  Default  varies, but is in 1/10ths
  1795. of a second.
  1796.  
  1797. S11
  1798. MF Tone duration and spacing. Only  relevant  to tone dialling and not
  1799. used by all modems.
  1800.  
  1801. S12
  1802. Escape Sequence Guard Time. The  length  required for the pause before
  1803. and after the sequence of  the  three  escape characters determined by
  1804. the S2 register. Default is 50, being 1 second.
  1805.  
  1806. S13-S16
  1807. These are reserved for special use.
  1808.  
  1809. As you will see, the standard  Hayes  command  set is quite small when
  1810. compared with those provided by most  modems,  but it supplies most of
  1811. the necessities, with the exception of  anything to do with split Baud
  1812. rates, which is one of the reasons for the extended sets.
  1813.  
  1814.                         PART 19: ONLY CONNECT!
  1815.                         ======================
  1816.  
  1817. Originally, Hayes  modems  determined  the  speed  of  modem  to modem
  1818. connection required by reading the speed of the connection between the
  1819. computer and the modem at the time when the most recent AT command was
  1820. received.
  1821.  
  1822. This meant that if you set your comms software to 1200/1200, the modem
  1823. would attempt to connect at 1200/1200.
  1824.  
  1825. As many computers are  incapable  of  handling  split  baud rates, the
  1826. modem to computer connection  is  usually  made  at  1200/1200 and the
  1827. modem will handle the buffering, but  some method of telling the modem
  1828. to attempt to connect at  1200/75 is required. Different manufacturers
  1829. have chosen different methods to do this.
  1830.  
  1831. In the case of the current Amstrad modems, the ATB command may be used
  1832. to set the baud rate and ATB23 forces the modem to connect at 1200/75.
  1833. In the case of the  Pro  24  modem,  the  ATF  command is used, with a
  1834. setting of ATF3.
  1835.  
  1836. Miracom, on the other hand, uses a  special S register on its WS range
  1837. of modems, requiring a setting of  S26=10,  while the Pace Linnet 1200
  1838. requires the S50=1, or S50=2 and S51=2.
  1839.  
  1840. Alternatively, in the case of the  Linnet  1200, '+75' may be added to
  1841. the end of the telephone  number  to  be  dialled  to achieve the same
  1842. result!
  1843.  
  1844. Confusing, isn't it?  The  matter  is  further  complicated when using
  1845. modems with MNP correction, as the connection between the computer and
  1846. the modem should be at a  higher rate than the required modem-to-modem
  1847. connection.
  1848.  
  1849. This means that in many cases  it  is  necessary  to send a special AT
  1850. command to the modem  to  tell  it  the  required speed of connection.
  1851. Again, the precise codes vary from modem to modem.
  1852.  
  1853. Many current modems now default  to auto-scanning when originating the
  1854. call (calling another service) and  attempt  to connect at the highest
  1855. possible baud rate. This may not be what you want on all occasions.
  1856.  
  1857. Sometimes it is possible to connect at 2400/2400 and have so much line
  1858. noise that you would have  been  better  at  1200/1200, but with auto-
  1859. scanning, it keeps connecting at 2400 bps!
  1860.  
  1861. Another problem with auto-scanning is that  if the modems at both ends
  1862. are scanning, it is possible for them  to  switch at the same time and
  1863. miss the connection.
  1864.  
  1865. By tradition, the calling (originating) modem sets a constant rate and
  1866. the receiving (host) modem does the scanning.
  1867.  
  1868. If you have trouble  connecting  at  the  baud  rate  you require, see
  1869. whether  your  modem  includes  a  command   to  force  the  speed  of
  1870. connection.
  1871.  
  1872. Another common problem occurs  when  software  waits  for result codes
  1873. from the modem  before  going  on-line.  There  are  three possible AT
  1874. commands which can affect this. ATE, ATQ and ATX.
  1875.  
  1876. Some software requires 'terse'  (numeric)  result codes, whilst others
  1877. expect 'verbose' messages, which means  that  the  ATQ setting must be
  1878. set to return the appropriate result.
  1879.  
  1880. It is also important to ensure that ATE  is set to echo the codes back
  1881. at all, otherwise the software will wait for them for ever!
  1882.  
  1883. The ATX settings may also  be  important,  particularly when running a
  1884. BB,  as  most  software  determines   the  speed  of  the  modem-modem
  1885. connection according to the result codes returned.
  1886.  
  1887. This means that the ATX setting must  be  set  to a high level so that
  1888. the result messages report the  speed  of  connection, such as CONNECT
  1889. 1200 and not just CONNECT.
  1890.  
  1891. Sometimes, for example when connecting  to  a  Mercury line or ringing
  1892. out through an office's internal  switchboard  it  may be necessary to
  1893. dial part of the number  with  pulse  dialling  and the remainder with
  1894. tone dialling or to introduce a delay part way through.
  1895.  
  1896. The Hayes commands allow for this  by permitting certain characters to
  1897. be included in the telephone number in the dialling string.
  1898.  
  1899. The comma ',' may be used in the  middle of a number to make the modem
  1900. pause for a period of time determined by the S8 register setting. If a
  1901. longer delay is required, more than one  comma  may be used, or the S8
  1902. setting changed.
  1903.  
  1904. Dialling may be changed between pulse and tone by inserting P and T in
  1905. the telephone number where appropriate. If neither of these characters
  1906. are found the modem will dial using  the  default mode, or that set by
  1907. any ATT or ATP command.
  1908.  
  1909. Note that not all Hayes  compatible  modems  support tone dialling the
  1910. original Pace Linnet accepts the ATT command and the use of a T in the
  1911. dialling string, but ignores them!
  1912.  
  1913. Most software  provides  configuration  options,  or  examples  in the
  1914. documentation, for commonly encountered modems.  If yours isn't one of
  1915. them, there is little option but to experiment with settings.
  1916.  
  1917. If your modem has non-volatile RAM  to  store  modem settings, it is a
  1918. good idea to use AT&F, then  AT&W  to  reset  the RAM back to defaults
  1919. before experimenting. In  most  cases  the  default  settings  will be
  1920. fairly near those you require for your installation.
  1921.  
  1922.                     PART 20: WHICH COMMS SOFTWARE?
  1923.                     ==============================
  1924.  
  1925. In this final article I shall take a general look at comms software in
  1926. an attempt to make it easier for you to decide on the sort of software
  1927. you will find most useful.
  1928.  
  1929. Comms programs differ widely in the features they provide and some are
  1930. more suited to one purpose  than  others.  Many  are the result of one
  1931. person's "dream" of what a comms program  should be, which may, or may
  1932. not, coincide with yours.
  1933.  
  1934. The problem is that  people  use  comms  in  very different ways. Some
  1935. people are only interested  in  logging  on  to Prestel, while whereas
  1936. others may only want to access Telecom Gold.
  1937.  
  1938. Some people require a program which provides script files, so that the
  1939. complete on-line session  can  be  automated  and  carried  out with a
  1940. single keypress; others have no need for such things.
  1941.  
  1942. These are very basic differences between comms software, but there are
  1943. others, such as whether you wish to  save Prestel frames in ASCII text
  1944. form suitable for loading into a word processor, or whether you prefer
  1945. to save them as they appear, for later replay.
  1946.  
  1947. Another feature, particularly relevant to  Prestel, is whether you use
  1948. the messaging system a lot.
  1949.  
  1950. If you do, then look  for  a  program which can automatically download
  1951. all incoming mail, allow you tp read  and reply to them off-line, then
  1952. log on and upload the replies automatically.
  1953.  
  1954. With some makes of computer you do  not  have a lot of choice in comms
  1955. software, but others,  particularly  the  PC,  have  a  wide  range of
  1956. software available, covering just about every possible option.
  1957.  
  1958. I have yet to discover a single program which provides every feature I
  1959. would like to have, so  compromises  have  to  be made and the program
  1960. which is nearest to the ideal selected.
  1961.  
  1962. Some programs are very easy to  use,  often because there is little to
  1963. them; but it is possible for a program which contains many features to
  1964. be just as simple.
  1965.  
  1966. Take script files as an  example.  One  of  the  most popular PC comms
  1967. programs has quite a powerful, yet relatively simple, script language.
  1968.  
  1969. Unfortunately, the only way to log  on  to a service and automatically
  1970. send IDs and passwords is by  creating  a script file for each service
  1971. you want to use.
  1972.  
  1973. On the other hand, there are other programs which do not have a script
  1974. language as such, but which allow  you  to specify the ID and password
  1975. sequence to be sent at log-on as part of the dialling directory entry.
  1976.  
  1977. If all other features of the  programs  are  equal and you have no use
  1978. for script files, then it is  obviously sensible to choose the program
  1979. which does not require scripts.
  1980.  
  1981. If your main concern  is  with  logging  on  to  BBs and uploading and
  1982. downloading files, then it is sensible  to choose a program which will
  1983. allow you to use the file transfer protocol you prefer.
  1984.  
  1985. This does not  necessarily  mean  a  program  which  includes  lots of
  1986. protocols, but  a  program  which  allows  you  to  link  in  external
  1987. protocols, several of which are available for most computers.
  1988.  
  1989. Zmodem is currently "flavour  of  the  month";  lots of comms software
  1990. doesn't have it, but it is  available  as an external protocol and may
  1991. be hooked into any other program which can handle them.
  1992.  
  1993. It is worth taking time  and  even  spending  money to get the program
  1994. which suits your use best.  Not  only  is  it  more  pleasant to use a
  1995. program you feel comfortable  with,  but  it  is  also cheaper, as the
  1996. quicker you can carry out tasks, the less time you will spend on-line.
  1997.  
  1998. You might, for example, be prepared to  fore go the pleasures of full-
  1999. colour Prestel graphics in  return  for  a  faster  screen display and
  2000. simulated graphics in text mode.
  2001.  
  2002. The choice is yours and the  range  is  wide, so don't just stick with
  2003. the program you are using just  because  it  came with the computer or
  2004. modem. Find out what is available and, if possible, try them out.
  2005.  
  2006. Luckily for us, a  large  percentage  of  comms software is shareware,
  2007. allowing the opportunity to try  them  out  at little initial cost. Do
  2008. register the program if you use it regularly though.
  2009.  
  2010. The number of comms users  is  only  a  small  percentage of the total
  2011. number of computer users, so the authors do need as many registrations
  2012. as possible if they are to be  encouraged to support and develop their
  2013. software!
  2014.  
  2015. This is the last of  this  series  on  basic communications and I hope
  2016. that I have covered most  of  the  areas  which can cause confusion to
  2017. beginners and  even  the  more  experienced.  Paul  Blitz's  excellent
  2018. Advanced Comms series covers the technical side, which I have tried to
  2019. avoid!
  2020.  
  2021. I have tried to avoid any  unnecessary complications and jargon as far
  2022. as possible, but if there are any areas which you think I have missed,
  2023. or not covered as clearly as I  might,  I would welcome feedback to my
  2024. mailbox (219992706) and might be persuaded to to a follow-up article.
  2025.  
  2026. END....
  2027.  
  2028.  
  2029. Amigatech note: Although the modem specifications (baud ratings) may
  2030. be slightly out of date (faster modems are now generally available
  2031. since this text was written) the information is invaluable to anyone
  2032. new to comms and it may even enlighten seasoned users.
  2033.  
  2034. 2034  lines
  2035. 15060 words
  2036.